export default {
  state: {
    /** 用于判断用户是否在下单中 */
    orderFlowStatus: false,
    productInfo: null,
    orderParams: null,
    orderAddress: null
  },
  mutations: {
    SET_ORDER_FLOW_STATUS(state, flag) {
      state.orderFlowStatus = flag
    },
    SET_PRODUCT_INFO(state, info) {
      state.productInfo = info
    },
    SET_ORDER_PARAMS(state, params) {
      state.orderParams = params
    },
    SET_ORDER_ADDRESS(state, address) {
      state.orderAddress = address
    }
  },
  actions: {
  },
  getters: {}
}